import { RouteRecordRaw } from 'vue-router'

const UserLayout = () => import('@/views/layout/index.vue')

export const constantRoutes: RouteRecordRaw[] = [
  {
    path: "/home",
    component: UserLayout,
    name: "Home",
    meta: { title: "home" },
    redirect: "/home/index",
    children: [
      {
        path: "index",
        component: () => import("@/views/home/index.vue"),
        name: "HomeIndex",
        meta: { title: "homeIndex" },
      }
    ]
  }
]
